home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / misc / st_plugins / actionprefs.example next >
Text File  |  1999-11-29  |  2KB  |  94 lines

  1. ; The following variables are possible:
  2. ; f  - name of the selected file with quotation marks
  3. ; f- - name of the selected file without quotation marks
  4. ; s  - PlugIn asks the user for a string
  5. ; n  - PlugIn asks the user for a number
  6. ; d  - PlugIn asks the user for a directory
  7. ; p  - PlugIn asks the user for a complete file path
  8. ; q  - PlugIn asks the user a question. If the negative answer is chosen
  9. ;      the whole command won't be executed
  10.  
  11. ; The Default-Menu
  12. [Some other actions
  13. %I=GetSizes
  14. Show;C:More {f};View
  15. Rename;C:Rename {f} {s;Rename to ...};Rename
  16. Copy to;C:Copy {f} {d;Destination};Copy
  17. Copy to as;C:Copy {f} {p;Destination file};CopyAs
  18. Delete;C:Delete {f} {q;Really delete ?;Yes|No};Delete
  19. ]
  20.  
  21. ; Executable files (107 = unpacked, 301 = MasterCruncher 3.0 R, 293 = Imploder 4.0)
  22. [107;301;293
  23. %I=System2
  24. Start program;{f};Run
  25. ]
  26.  
  27. ; AmigaGuide-Files
  28. [40
  29. %I=Docs
  30. Show Amiga-Guide;C:AmigaGuide {f};View2
  31. ]
  32.  
  33. ; Pictures (19 = IFF, 97 = JPEG, 56 = GIF)
  34. [19;97;56
  35. %I=MonaLisa
  36. Show picture;SYS:Utilities/Visage {f};View
  37. ]
  38.  
  39. ; Lha-Archive
  40. [71
  41. %I=Lha
  42. Unpack archive to RAM:;C:Lha x {f} RAM: > CON:10/10/620/200/Lha-Extraction
  43. Unpack archive to ...;C:Lha x {f} {d;Destination} > CON:10/10/560/200/Lha-Extraction
  44. ]
  45.  
  46. ; Lzx-Archive
  47. [543
  48. %I=Lzx
  49. Unpack archive to RAM:;C:Lzx x {f} RAM: > CON:10/10/620/200/Lzx-Extraction
  50. Unpack archive to ...;C:Lzx x {f} {d;Destination} > CON:10/10/560/200/Lzx-Extraction
  51. ]
  52.  
  53. ; Zip-Archive
  54. [74
  55. Unpack archive to RAM:;C:UnZip {f} -d RAM: > CON:10/10/620/200/Zip-Extraction
  56. Unpack archive to ...;C:UnZip {f} -d {d;Destination} > CON:10/10/620/200/Zip-Extraction
  57. ]
  58.  
  59. ; DMS-Archive
  60. [1
  61. %I=Disk2
  62. Unpack to DF0:;C:DMS Write {f} To DF0: <> CON:10/10/620/200/DMS-Extraction
  63. Unpack to DF1:;C:DMS Write {f} To DF1: <> CON:10/10/620/200/DMS-Extraction
  64. ]
  65.  
  66. ; C source and header files
  67. [0
  68. %I=C
  69. %P=#?.(c|h)
  70. Show;C:More {f}
  71. Edit;C:Ed {f}
  72. ]
  73.  
  74. ; Doc-Files
  75. [0
  76. %I=Docs
  77. %P=#?.(me|doc|txt|dok)
  78. Show;C:More {f};View
  79. ]
  80.  
  81. ; MultiView-Datatypes
  82. [523
  83. %I=MultiView
  84. Load datatype;WBStarter {f}
  85. ]
  86.  
  87. ; HTML-Files
  88. [0
  89. %I=Globe
  90. %P=#?.(html|htm)
  91. Open browser;Work:Internet/IBrowse/IBrowse file:///{f-};Globe
  92. ]
  93.  
  94.